python dynamically create function

visit shbcf.ru